/*
 * Created by JFormDesigner on Mon Dec 13 09:34:26 CST 2021
 */

package com.cn.项目.飞机预约管理系统.Logining;

import java.awt.*;
import javax.swing.*;


public class Errorprompt extends JFrame {
    public Errorprompt() {
        initComponents();
    }

    private void initComponents() {
        // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
        label1 = new JLabel();
        label2 = new JLabel();

        //======== this ========
        setVisible(true);
        Container contentPane = getContentPane();
        contentPane.setLayout(null);

        //---- label1 ----
        label1.setText("错误提示");
        label1.setFont(label1.getFont().deriveFont(label1.getFont().getSize() + 10f));
        label1.setForeground(Color.red);
        contentPane.add(label1);
        label1.setBounds(125, 15, 255, 40);

        //---- label2 ----
        label2.setText("密码和确认密码不同，请重新输入！");
        label2.setForeground(new Color(255, 51, 51));
        label2.setFont(label2.getFont().deriveFont(label2.getFont().getSize() + 6f));
        contentPane.add(label2);
        label2.setBounds(45, 125, 320, 35);

        contentPane.setPreferredSize(new Dimension(365, 300));
        pack();
        setLocationRelativeTo(getOwner());
        // JFormDesigner - End of component initialization  //GEN-END:initComponents
    }

    // JFormDesigner - Variables declaration - DO NOT MODIFY  //GEN-BEGIN:variables
    private JLabel label1;
    private JLabel label2;
    // JFormDesigner - End of variables declaration  //GEN-END:variables
}
